﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;

namespace WPDataBinding
{
    public partial class ProductDetail : PhoneApplicationPage
    {
        public ProductDetail()
        {
            InitializeComponent();
            //ContentPanel.DataContext = new Product() {ID=1,ProductName="Hello",ProductDescription="Desciption",ProductImage="",CategoryID=0 };
            App a = App.Current as App;
            ContentPanel.DataContext = a.poolData;
        }
    }
}